﻿using System;
namespace OpenComposite.EII.Designer.Workflow
{
	public interface IWorkflowValidator
	{
		bool IsBusy { get; }

		void DoValidation();

		event EventHandler ValidationCompleted;
	}

	public static class WorkflowValidatorSources
	{
		public const string BusinessProcess = "Business Process";
		public const string FlowPolicy = "Flow Policy";
		public const string ParticipantPolicy = "Participant Policy";
		public const string Subscriptions = "Subscriptions";
		public const string Composite = "Composite";
		public const string Binding = "Binding";
		public const string Generate = "Generate";
		public const string LogicalMethods = "Logical Methods";
		public const string WebServices = "Web Services";
		public const string HumanActivities = "Human Activities";
		public const string Notifications = "Notifications";
	}
}
